﻿using System.ComponentModel.DataAnnotations;
using Abp.MultiTenancy;

namespace ARchGL.Platform.Authorization.Accounts.Dto
{
    public class IsTenantAvailableInput
    {
        private string tenancyName;

        [Required]
        [MaxLength(AbpTenantBase.MaxTenancyNameLength)]
        public string TenancyName
        {
            get => tenancyName;
            set => tenancyName = value?.Replace("\t", "")?.Trim();
        }
    }
}
